using System;

namespace Monopoly
{
    public class Die
    {
        public const int MIN = 1;
        public const int MAX = 6;

        private static Random Seed = new Random();

        int faceValue = 2;

        private Random _random = new Random(Seed.Next());

        public Die()
        {
            Roll();
        }

        public void Roll()
        {
            faceValue = _random.Next(MIN, MAX);
        }

        public virtual int FaceValue
        {
            get { return faceValue; }
        }
    }
}